<?php 
$last_ten_error++;
$rep = ($rep * ($tc - 1) + $timeout) / $tc;
if($te  == NULL) { $te  = 1; } else { $te++;  }
mysql_query("UPDATE table_proxy SET te='". $te ."' WHERE proxy='".$proxy_arr[$i]."' LIMIT 1");
?>